package com.ruoyi.app.W.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.transaction.annotation.Transactional;

import java.util.Date;

/**
 * @Author sa
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class advice {
    private String adviceId;
    private String launchPartyId;
    private String adviceTitle;
    private String adviceContent;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date adviceTime;
    private String advicePhoto;
    private String replyId;
    private String replyContent;
    private Integer isHidden;
    private Integer isPublic;
    private Integer adviceDelete;
    /**
     * 被谏言单位(上一级社区id)
     */
    private Integer acceptPartyId;
    private String remark;
    private String replyStatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date replyTime;

}
